package util;

import lombok.AllArgsConstructor;
import lombok.Data;


/**
 * @author shkstart
 * @create 2023-01-07-22:18
 */
@AllArgsConstructor
@Data
public class ResultUtils {
    private int succ;
    private Object data;
    private String msg;

    public static ResultUtils toResult(int succ, Object data,String msg){
        ResultUtils resultUtils = new ResultUtils(succ,data,msg);
        return resultUtils;
    }
}
